package com.pay.ioopos.support.serialport.custom;

/**
 * 反序列化输入指令：取消收款
 * @author moyq5
 * @since 2022/8/2
 * @see SerialPortPayCmd2Cancel
 */
public class SerialPortPayCmd4CancelDer extends CustomCmdDeserializerAbstract<SerialPortPayCmd4Cancel> {

    @Override
    public SerialPortPayCmd4Cancel deserialize(byte[] data) {
        SerialPortPayCmd4Cancel result = super.deserialize(data);
        return (SerialPortPayCmd4Cancel)SerialPortPayCmd4SubmitDerUtils.deserialize(result);
    }

    @Override
    protected Class<SerialPortPayCmd4Cancel> resultClass() {
        return SerialPortPayCmd4Cancel.class;
    }
}
